package com.hmall.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.user.pojo.Address;

import java.util.List;

public interface IAddressService extends IService<Address> {
    List<Address> getByUserId(Long userId);

    Address add(Address address);

    void deleteById(Long id);
}
